import 'tooltip.dart';

import 'package:json_annotation/json_annotation.dart';

part 'polar.g.dart';

@JsonSerializable(includeIfNull: false, explicitToJson: true)
class Polar {
  var id;
  var zlvel;
  var z;
  var center; //center: [400, 300] or˝ center: ['50%', '50%']
  var radius; //number var Array
  Tooltip? tooltip;

  Polar({this.id, this.zlvel, this.z, this.center, this.radius, this.tooltip});


  factory Polar.fromJson(Map<String, dynamic> json) => _$PolarFromJson(json);

  Map<String, dynamic> toJson() => _$PolarToJson(this);
}
